Fixed tests
authorKalita Alexey <kalita.alexey@outlook.com>
Fri, 10 Feb 2017 09:35:20 +0000 (12:35 +0300)
committerKalita Alexey <kalita.alexey@outlook.com>
Fri, 10 Feb 2017 09:35:20 +0000 (12:35 +0300)
tests/build.rs

index c37405e62421d4fc64eb33e512f88e17ea8036b9..5d012b862fcca685c2ced1e293f30ce8e7a7421e 100644 (file)
@@ -2600,14 +2600,24 @@ fn message_format_json_forward_stderr() {
     {
         "reason":"compiler-message",
         "package_id":"foo 0.5.0 ([..])",
-        "target":{"kind":["bin"],"name":"foo","src_path":"[..]"},
+        "target":{
+            "kind":["bin"],
+            "crate_types":["bin"],
+            "name":"foo",
+            "src_path":"[..]"
+        },
         "message":"{...}"
     }
 
     {
         "reason":"compiler-artifact",
         "package_id":"foo 0.5.0 ([..])",
-        "target":{"kind":["bin"],"name":"foo","src_path":"[..]"},
+        "target":{
+            "kind":["bin"],
+            "crate_types":["bin"],
+            "name":"foo",
+            "src_path":"[..]"
+        },
         "profile":{
             "debug_assertions":true,
             "debuginfo":2,